﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace Entity.user
{
    /// <summary>
    /// 收货地址类
    /// </summary>
    [Table("t_shop_address")]
    public class Address
    {
        /// <summary>
        /// 收货地址ID
        /// </summary>
      [Key]
      public string AddressID { get; set; }

      /// <summary>
      /// 城市
      /// </summary>
      public string City { get; set; }

      /// <summary>
      /// 详细地址
      /// </summary>
      public string AddressDetails { get; set; }

      /// <summary>
      /// 邮政编码
      /// </summary>
      public string YzCode { get; set; }

      /// <summary>
      /// 收货人姓名
      /// </summary>
      public string ShName { get; set; }

      /// <summary>
      /// 收货人手机
      /// </summary>
      public string ShPhone { get; set; }

      /// <summary>
      /// 默认地址，1代表默认地址，0代表不是
      /// </summary>
      public int Default { get; set; }

      /// <summary>
      /// 创建时间
      /// </summary>
      public DateTime CreateTime { get; set; }




    }
}
